<!--
  // Creation History
  // --------------------------------------------------------------
  //	Company:			HTHK
  //	NAME:				ProjectGroupList.jsp
  //	TITLE:				ProjectGroup List
  //	FUNCTION:			List the Searching result.
  //	BY:				Poly Li
  //	DATE:				14-01-2004
  // --------------------------------------------------------------
-->

<html>
<%@ include file="../tssheader.jsp" %>
<%@ page import="tss.projectgroup.*" %>
<body>
<%
	 ProjectGroupBean[] projectGroups = (ProjectGroupBean[])request.getAttribute("projectGroups");
     if (projectGroups==null)
        projectGroups = new ProjectGroup[0];  
%>
<body >
<h2>Project Group Maintenance</h2>
<INPUT type=button value=Back onclick="location.href= '<%=contextPath%>/tss/projectgroup/ProjectGroupSearch.jsp'">
<h5>Total: <%=projectGroups.length%> projectGroup(s)</h5>
<table cols=6 border=1 >
<thead>
  <td><b>Project Name</b></td>
  <td><b>Group Name</b></td>
</thead>
<%  for (int i=0; i<projectGroups.length; i++)
    {           
%>
<tr>
	<td><a	href="<%=contextPath%>/servlet/tss.projectgroup.ProjectGroupSearch?formAction=Update&	project_name=<%=projectGroups[i].getProject_name()%>"
	><%=projectGroups[i].getProject_name()%></a></td>
    <td><%=projectGroups[i].getGroup_name()%></td>

</tr>
<%  } %>
</table>
</body>
<%@ include file="../tssfooter.jsp" %>
</body>
</html>

